package com.cherry.ssmsimple.dao;

import com.cherry.ssmsimple.pojo.Blog;

import java.util.List;

public interface BlogMapper {

    List<Blog> findAll();

    int addBlog(Blog blog);

    Blog findById(String id);

    int update(Blog blog);

    int delById(String id);
}
